/**
 * Created by Weizehua on 2017/1/24.
 */
import {Component} from "@angular/core";
import {NavController} from "ionic-angular";
import {NewPostPage} from "../NewPost/NewPostPage";

@Component({
    selector: 'evaluation',
    templateUrl: "EvaluationPage.html",
    providers: []
})
export class EvaluationPage {
    items = [];
    source = 'http://peres.oss-cn-shenzhen.aliyuncs.com/persist/1%20%282%29.png';
    constructor(public nav: NavController) {
        for(let i=1; i <= 2; i++)
            this.items.push({source: this.source});
    }
    onAddClicked(){
        this.nav.push(NewPostPage);
    }
}
